package com.boot.study.user.util;

import com.boot.study.exceptions.ServiceException;

public class AssertUtil {

    public static void assertIsTrue(boolean b, String msg){
        if(b){
            throw new ServiceException(300,msg);
        }
    }

}
